import java.util.Scanner;

public class Main1389 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int a;
        int b=0;
        int c=0;
        while (n>0){
            b++;
            a=n%10;
            if (a%2==0) {
                c=c+a;
            }n=n/10;
        }
        System.out.println(b+" "+c);
    }
}
